package com.tpyule.tpclass.service;

import com.tpyule.tpclass.entity.bean.ResultBean;
import com.tpyule.tpclass.entity.bo.NoteCourseBo;
import com.tpyule.tpclass.entity.bo.NoteDetailBo;
import com.tpyule.tpclass.entity.bo.NoteSelfBo;
import com.tpyule.tpclass.entity.dto.NoteQueryDto;
import com.tpyule.tpclass.entity.pojo.Note;

import java.util.List;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/4/16 12:22
 */
public interface NoteService {
    /**
     * 添加笔记
     * @param note
     * @return
     */
    public ResultBean addNote(Note note);


    /**
     * 查询笔记列表
     * @param noteQueryDto
     * @return
     */
    public List<NoteDetailBo> getListNote(NoteQueryDto noteQueryDto);

    /**
     * 获取笔记课程列表信息
     * @param userId
     * @return
     */
    public List<NoteCourseBo> getListInfo(String userId);


    /**
     * 查询个人笔记
     * @param noteQueryDto
     * @return
     */
    public List<NoteSelfBo> getSelfNote(NoteQueryDto noteQueryDto);
}
